#include "UIPlayView.h"
#include "qvideowidget.h"

UIPlayView::UIPlayView(QWidget *parent)
    : UIViewBase{parent}
{
}

void UIPlayView::SetPlayCtrlIco(QPushButton *obj, bool flag)
{
    if(flag)
    {
        obj->setIcon(QIcon(QPixmap(":/QPStyle/image/suspend.svg")));
    }
    else
    {
        obj->setIcon(QIcon(QPixmap(":/QPStyle/image/play.svg")));
    }
    
}

void UIPlayView::setModel(UIModelBase *model)
{
    
}

void UIPlayView::setMainUIWidget(QWidget *w)
{
    
}
